<?php
//print_r($_REQUEST);
$fp=fopen("test.txt","w+");
foreach($_REQUEST as $key => $value){
    fwrite($fp,$value."\n");
}
?>